<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Form Feedback</title>
<style type="text/css" title="text/css" media="all">
.error {
	font-wieght: bold;
	color: #C00;
}
</style>
</head>
<body>
<!-- Script 2.4 - handle_form.php #4 -->
<?php

// If everything is OK, print the message:
if (!empty($_POST['name']) && !empty($_POST['comments']) && !empty($_POST['email'])) {
	echo "<p>Thnak you, <b>{$_POST['name']}</b>, for the following comments:<br/><tt>{$_POST['comments']}</tt></p><p>We will reply to you at <i>{$_POST['email']}</i>.</p>\n";
} else { //Missing form value.
	echo '<p class="error">Please go back and fill out the form again.</p>';
}




?>
</body>
</html>